package com.eusoft.book_manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.eusoft.book_manage.entity.BasicEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 图书信息表
 * </p>
 *
 * @author eusoft
 * @since 2021-10-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Book extends BasicEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增aid
     */
    @TableId(value = "aid", type = IdType.AUTO)
    private Integer aid;

    /**
     * 名称
     */
    private String name;

    /**
     * ISBN编号
     */
    private String isbn;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 类型aid
     */
    private Integer typeAid;

    /**
     * 状态id
     */
    private Integer stateId;

    /**
     * 状态名称(冗余)
     */
    private String stateName;

    /**
     * 备注
     */
    private String remarks;



}
